<%--
  Created by IntelliJ IDEA.
  User: ACER
  Date: 2017/6/7
  Time: 20:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body style="background: rgba(180, 248, 128, 0.77)">
<jsp:include page="/index.jsp"></jsp:include>
<br/>
<form action="${pageContext.request.contextPath}/students/update" method="post">
    <table style="font-size: 25px;">

        <tr align="center">
            <td>学号</td>
            <td><input type="text" name="id" value="${student.studentId}" style="display: none"/>
                <input type="text" name="sno" value="${student.studentNo}"/>

            </td>

        </tr>
        <tr align="center">
            <td>密码</td>
            <td><input type="text" name="password" value="${student.studentPassword}"/>
            </td>
        </tr>
        <tr align="center">
            <td>姓名</td>

            <td><input type="text" name="name" value="${student.studentName}"/>
            </td>
        </tr>

        <tr align="center">
            <td>性别</td>

            <td>
                <input type="text" name="sex" value="${student.studentSex}"/>
            </td>
        </tr>
        <tr align="center">
            <td>系别</td>

            <td>
                <input type="text" name="dept" value="${student.studentDept}"/>

            </td>
        </tr>
        <tr align="center">
            <td colspan="2">
                <input type="submit" value="更新"/>
            </td>

        </tr>

    </table>

</form>

</body>
</html>
